@echo off
echo ========================================
echo 运行项目测试
echo ========================================

echo.
echo 1. 运行领域层测试...
dotnet test tests/CollabApp.Domain.Tests --verbosity normal --logger "console;verbosity=detailed"

echo.
echo ========================================
echo 尝试运行应用层测试...
echo ========================================
dotnet test tests/CollabApp.Application.Tests --verbosity normal --logger "console;verbosity=detailed"

echo.
echo ========================================
echo 尝试运行集成测试...
echo ========================================
dotnet test tests/CollabApp.Tests --verbosity normal --logger "console;verbosity=detailed"

echo.
echo ========================================
echo 运行所有可用测试...
echo ========================================
dotnet test --verbosity normal --logger "console;verbosity=detailed"

echo.
echo 测试完成！
pause
